package com.alks.function.data.request.factoryquery;

import com.alks.entity.data.page.PageParam;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.time.LocalDate;

@Getter
@Setter
@NoArgsConstructor
public class SpMtlHeadRequest extends PageParam {
    @ApiModelProperty("指令")
    private String lotNo;

    @ApiModelProperty("型体")
    private String style;

    @ApiModelProperty("颜色名称")
    private String color;

    @ApiModelProperty("品牌")
    private String custom;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
    @ApiModelProperty("交期日期开始")
    private LocalDate deliveryStartDate;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
    @ApiModelProperty("交期日期结束")
    private LocalDate deliveryEndDate;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
    @ApiModelProperty("下单日期开始")
    private LocalDate orderStartDate;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
    @ApiModelProperty("下单日期结束")
    private LocalDate orderEndDate;

    @ApiModelProperty("厂商")
    private String vendor;

    @ApiModelProperty(value = "裁数")
    private Integer cutNum;

}
